//test.js 传入的axios参数调用
export default axios => ({
  test1(data) {
    return axios.post(`/app/list_news`, data);
  },
  async test2(data){
    const groups = await axios({
      method: 'post',
      url: '/app/list_news',
      data,
      handleError: true
    })
    return groups
  }
});
